/**
 * Created by WLG on 2018/11/9.
 */
/**
 * TOMIM Server
 */
class ChatServer{
    constructor() {
        this.webHandler = require('./webHandler/mainWebHandler');
        this.socketHandler = require('./socketHandler/mainSocketHandler');
    }
    init(app,io){
        //初始化 http 服务
        this.webHandler.init(app,io);
        //初始化 socket 服务
        this.socketHandler.init(io);
        commonUtil.consoleSysInfo("Handlers初始化完成");
    }
}
module.exports = ChatServer;